@import './base.css';

#app {
    width: 100%;
    height: 100%;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.links,a.links{
    color: #2565C8;
    text-decoration:underline;
}
.blue{
    color: #2565C8;
}
.red {
    color: #E04940;
}

.green {
    color: #00B386;
}

.yellow {
    color: #F49F16;
}

.ml30 {
    margin-left: 30px;
}

.selected_bg {
    background: #FFDE9A;
}

.bgff{
    background: #fff;
}

.flex_bg {
    background: #F6FAFE;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #E0E5ED;
    padding: 20px;
}

.search_bor_bg {
    background: #F6FAFE;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #E0E5ED;
    padding: 20px 20px 2px;
}

.mt15 {
    margin-top: 15px;
}
.mt20 {
    margin-top: 20px;
}
.mt25 {
    margin-top: 25px;
}
.mt30 {
    margin-top: 30px;
}

.w100{
    width: 100px;
}
.w200{
    width: 200px;
}

.ico_add_btn{
    margin-left: 10px;
    cursor: pointer;
}

.ico_p {
    width: 100;
    padding: 0 40px;
    position: relative;

    img {
        position: absolute;
        top: 0;
        right: 5px;
    }
}

.table_dialog {
    text-align: center;

    img {
        display: block;
        margin: 0 auto;
    }

    strong {
        display: block;
        font-weight: 500;
        font-size: 18px;
        color: #3D4755;
        line-height: 30px;
        padding: 20px 0 0;
    }

    span {
        display: block;
        font-size: 15px;
        color: #667581;
        line-height: 24px;
        padding-bottom: 10px;
    }
}


.table_link {
    color: #2565C8;
    text-decoration-line: underline;
}

.rowcol_table{
    width: 100%;
    border:none;
    border: 1px solid #E0E5ED;
    th {
        background: #CCDDF9;
        font-weight: 500;
        font-size: 15px;
        color: #3D4755;
        line-height: 20px;
        border: 1px solid #E0E5ED;
        padding: 15px;
        text-align: center;
    }

    td {
        font-size: 15px;
        color: #3D4755;
        line-height: 20px;
        border-top: 1px solid #E0E5ED;
        border-left: 1px solid #E0E5ED;
        padding: 0px;
        text-align: center;
        background: #fff;
    }
    table{
        width: 100%;
        border:none;
        td{
            padding:10px 15px;
            border:none;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-all;
        }
        .bor_up{
            td{
                border-top: 1px solid #E0E5ED;
            }
        }
        .bor_left{
            border-left: 1px solid #E0E5ED;
        }
    }
}

.table_info {
    width: 100%;
    .remark{
        border: 1px solid #E0E5ED;
        border-top: none;
        font-size: 15px;
        color: #3D4755;
        line-height: 26px;
        padding: 20px 20px;
        display: flex;
        strong{
            display: block;
            flex-shrink: 0;
            padding-right: 10px;
        }
    }
    .beiz {
        border: 1px solid #E0E5ED;
        border-top: none;
        font-size: 15px;
        color: #3D4755;
        line-height: 20px;
        padding: 20px 100px;

        p {
            padding: 5px 0;
        }
    }

    h3 {
        height: 50px;
        background: #EDF0FE;
        font-weight: 500;
        font-size: 18px;
        color: #000000;
        line-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    table {
        width: 100%;
    }

    th {
        background: #CCDDF9;
        font-weight: 500;
        font-size: 15px;
        color: #3D4755;
        line-height: 20px;
        border: 1px solid #E0E5ED;
        padding: 15px;
        text-align: center;
    }

    td {
        font-size: 15px;
        color: #3D4755;
        line-height: 20px;
        border: 1px solid #E0E5ED;
        padding: 15px 10px;
        text-align: center;
        background: #fff;
    }
    &.small th{
        padding:15px 10px;
    }
    &.small td{
        padding:10px;
    }
    &.small2 th{
        padding:10px 10px;
    }
    &.small2 td{
        padding:10px;
    }
}

.table_bg {
    background: #9BA2AC !important;
    font-weight: bold;
    color:#fff !important;
    td {
        color: #fff !important;
        font-weight: bold;
        background: #9BA2AC !important;
    }
}

.record_info_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0;
}

// table-list
.silo_dialog{
    border-top:1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:15px 0;
    .silo_photo{
        width: 49%;
        background: #F6FAFE;
        border-radius: 4px;
        border: 1px solid #E0E5ED;
        box-sizing: border-box;
        padding:20px;
        position: relative;
        .info{
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding-bottom: 15px;
            li{
                position: relative;
                padding-left:16px;
                &::before{
                    content: ' ';
                    position: absolute;
                    left:0;
                    top:6px;
                    width: 12px;
                    height: 12px;
                    background: #2565C8;
                    border-radius: 50%;
                }
            }
            span{
                display: block;
                font-size: 15px;
                color: #677581;
                line-height: 24px;
                
            }
            p{
                font-weight: bold;
                font-size: 18px;
                color: #3D4755;
                line-height: 30px;
            }
        }
        .ph_box{
            width: 100%;
            height: 500px;
            
            .ph{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            p{
                position: absolute;
                right: 0;
                bottom: 0;
                width: 122px;
                height: 40px;
                background: #00B386;
                border-radius: 2px 2px 2px 2px;
                font-size: 15px;
                color: #FFFFFF;
                line-height: 40px;
                text-align: center;
            }
        }
    }
    .silo_info{
        width: 50%;
        .alert{
            width: 500px;
            height: 50px;
            background: #EBF3FF;
            box-shadow: 3px 3px 8px 1px rgba(4,50,123,0.16);
            border-radius: 0px 0px 0px 0px;
            border: 1px solid #B9D2F8;
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            padding:0 20px;
            p{
                padding-left:10px;
                font-size: 15px;
                color: #3D4755;
                line-height: 24px;
            }
        }
    }
}

.box_bg {
    background: #F6FAFE;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #E0E5ED;
    padding: 20px;
}


.table_list {
    box-sizing: border-box;
    font-size: 15px;
    color: #3D4755;
    width: 100%;
    .table_list_info {
        width: 100%;
        padding: 15px 5%;
        display: flex;
        align-items: stretch !important;
        justify-content: space-between;
        transition: all 0.3s;
        .info_photo {
            flex-shrink: 0;
            width: 25%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #E0E5ED;
            border-right: none;
            position: relative;
            background: #fff;

            img {
                display: block;
                position: absolute;
                left: 50%;
                top: 50%;
                right: 0;
                bottom: 0;
                transform: translate(-50%, -50%);
                max-width: 100%;
                max-height: 100%;
            }
        }
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
}

.table_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #2565C8;

    a {
        padding: 0 10px;
        font-weight: bold;
        font-size: 14px;
        color: #2565C8;
    }
}

.record_search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    background: #F6FAFE;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #E0E5ED;
    padding: 0 20px;

    .record_search_tab {
        display: flex;
        align-items: center;
        margin-right: auto;

        li {
            width: 100px;
            height: 32px;
            line-height: 30px;
            text-align: center;
            background: url('./img/ico_btn1.png') no-repeat;
            background-size: 100% 100%;
            font-weight: 400;
            font-size: 15px;
            color: #2565C8;
            cursor: pointer;
            border-radius: 20px;
            margin-right: 10px;

            &:hover {
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            }

            &.hover {
                background: url('./img/ico_btn1a.png') no-repeat;
                background-size: 100% 100%;
                color: #fff;
            }
        }

    }

    .record_search_time {
        display: flex;
        align-items: center;

        .item {
            margin-right: 10px;

            .hover {
                background: #EBF3FF;
                border: 1px solid #2565C8;
                color: #2565C8;
            }
        }
    }

    .name {
        flex-shrink: 0;
        font-size: 15px;
        color: #3D4755;
        line-height: 24px;
        font-weight: 500;
        padding-right: 10px;
    }
}


.device_tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: auto;
    ul {
        display: flex;
        align-items: center;
        margin-right: auto;

        li {
            width: 100px;
            height: 32px;
            line-height: 30px;
            text-align: center;
            background: url('./img/ico_btn1.png') no-repeat;
            background-size: 100% 100%;
            font-weight: 400;
            font-size: 15px;
            color: #2565C8;
            cursor: pointer;
            border-radius: 20px;
            margin-right: 10px;

            &:hover {
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            }

            &.hover {
                background: url('./img/ico_btn1a.png') no-repeat;
                background-size: 100% 100%;
                color: #fff;
            }
        }

    }
    .name {
        flex-shrink: 0;
        font-size: 15px;
        color: #3D4755;
        line-height: 24px;
        font-weight: 500;
        padding-right: 10px;
    }
}

// 弹出框
.dialog-footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dialog_main {
    border-top:1px solid #eee;
    border-bottom: 1px solid #eee;
}
.form_title{
    width: 100%;
    font-weight: bold;
    font-size: 15px;
    color: #3B4552;
    line-height: 24px;
    padding-bottom: 10px;
}

.el-dialog__body .el-form-item__label{
    color: #3B4552;
}

.ico_add_info{
    padding:10px;
}
.checkbox_zd{
    padding:10px 0 15px;
}
.edit_info{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 10px;
    li{
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        color: #3D4755;
        line-height: 20px;
        margin-bottom: 10px;
        span{
            flex-shrink: 0;
            width: 110px;
            text-align: left;
            padding-right: 12px;
        }
        p{
            width: 100%;
            text-align: left
        }
    }
}
.edit_info2{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 10px;
    li{
        width: 33.333%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        color: #3D4755;
        line-height: 20px;
        margin-bottom: 10px;
        &:last-child{
            margin-right: auto;
        }
        span{
            flex-shrink: 0;
            width: 100px;
            text-align: left;
            padding-right: 12px;
        }
        p{
            width: 100%;
            text-align: left
        }
    }
}
// .el-form--inline .el-form-item{
//     margin-right: 0 !important;
//     width: 50% !important;
// }
.form-inline-row-two .el-form-item{
    margin-right: 0 !important;
    width: 50%;
}
.form-inline-row-three .el-form-item{
    margin-right: 0 !important;
    width: 33.333%;
}

.upload_report{
    font-weight: bold;
    font-size: 16px;
    padding:20px 0;
    display: flex;
    align-items: flex-start;
    .name{
        flex-shrink: 0;
        line-height: 24px;
        margin-right: 15px;
    }
    p{
        img{
            width: 130px;
            height: 160px;
        }
        a{
            margin-left: 30px;
        }
    }
}
.el-dialog__title{
    font-weight: bold !important;
    color: #092A5F !important;
    font-size: 16px !important;
}
.el-dialog__headerbtn{
    margin-top: 5px;
}
.forecast_title{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #3D4755;
    line-height: 30px;
    padding:20px 0;
}

.bor_top{
    border-top:1px solid #eee;
}

.log_list{
    border:1px solid #eee;
    padding:15px 20px;
    li{
        display: flex;
        align-items: center;
        padding:5px 0;
        p{
            font-size: 15px;
            color: #3D4755;
            line-height: 24px;
            padding-right: 10px;
        }
        .ico{
            cursor: pointer;
        }
    }
}

.page_tabs{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 2px solid #E0E5ED;
    height: 60px;
    margin-top: -10px;
    li{
        font-weight: bold;
        font-size: 18px;
        color: #3D4755;
        line-height: 60px;
        position: relative;
        padding:0 20px;
        flex-shrink: 0;
        margin-right: 20px;
        cursor: pointer;
        &.hover::after{
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            border-bottom: 3px solid #2565C8;
            
        }
    }
}



//list搜索
.from_search_inline .el-input {
    --el-input-width: 180px;
}
.from_search_inline .el-select {
    --el-select-width: 180px;
}
.from_search_inline .el-date-editor{
    --el-date-editor-width: 180px;
}

//弹出框-添加
.form-inline-row-two .el-input {
    --el-input-width: 260px;
}
.form-inline-row-two .el-select {
    --el-select-width: 260px;
}
.form-inline-row-two .el-date-editor{
    --el-date-editor-width: 260px;
}

.form-inline-row-three .el-input {
    --el-input-width: 260px;
}
.form-inline-row-three .el-select {
    --el-select-width: 260px;
}
.form-inline-row-three .el-date-editor{
    --el-date-editor-width: 260px;
}
.input_red .el-input__inner {
    color: #FF5733;
}
.input_red.el-input.is-disabled .el-input__inner{
    color: #FF5733;
    -webkit-text-fill-color:#FF5733 ;
}

//图表上搜索
.chart_search_inline .el-input {
    --el-input-width: 180px;
}
.chart_search_inline .el-select {
    --el-select-width: 180px;
}
.chart_search_inline .el-date-editor{
    --el-date-editor-width: 360px;
}

//自定义tablelist样式
.table_big_th{
    background: #CCDDF9 !important;
    padding: 16px 0 !important;
    color:#333;
    font-weight: bold;
}
.table_th{
    background: #CCDDF9 !important;
    color:#333;
    font-weight: bold;
}




.flex_between{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex_center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg_black{
    background: #38353D;
    padding:0 0 1px;
}


.page_black_tabs{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 2px solid #656369;
    height: 60px;
    margin: 0 20px;
    li{
        font-weight: bold;
        font-size: 18px;
        color: #9D9D9D;
        line-height: 60px;
        position: relative;
        padding:0 20px;
        flex-shrink: 0;
        margin-right: 20px;
        cursor: pointer;
        &.hover{
            color:#fff;
        }
        &.hover::after{
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            border-bottom: 3px solid #fff;
            
        }
    }
}

.streaming{
    display: flex;
    height: 800px;
    align-items: stretch;
    justify-content: space-between;
    margin:15px 20px 0;
    padding-bottom: 20px;
    .mv_ph{
        width: 100%;
        height: 100%;
        background: red;
        position: relative;
        p{
            position: absolute;
            left:0;
            top:0;
            right: 0;
            font-weight: 500;
            font-size: 16px;
            color: #FFFFFF;
            line-height: 30px;
            background: rgba(0,0,0,0.4);
            padding:0 20px;
        }
        .ph{
            width: 100%;
            height: 100%;
            object-fit:cover;
        }
    }
    .mv_control{
        flex-shrink: 0;
        width: 310px;
        height: 100%;
        background: #535157;
        margin-left: 15px;
        h3{
            text-align: center;
            color:#fff;
            font-weight: 500;
            font-size: 18px;
            line-height: 20px;
            padding-top: 20px;
        }
    }
}

.button_gray{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}
.control_slider{
    padding:5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .name{
        color:#fff;
        flex-shrink: 0;
        padding-right: 20px;
        font-size: 16px;
        line-height: 20px
    }
}
.control_btn{
    width: 174px;
    height: 174px;
    background: #6B6A74;
    border: 1px solid #A8A7B1;
    border-radius: 50%;
    margin: 80px auto 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
    &::after{
        content: '';
        position: absolute;
        left:0;
        top:85px;
        width: 100%;
        border-top:1px solid #A8A7B1;
        transform: rotate(45deg);
    }
    &::before{
        content: '';
        position: absolute;
        left:0;
        top:85px;
        width: 100%;
        border-top:1px solid #A8A7B1;
        transform: rotate(-45deg);
    }
    .refresh{
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #A9A7B1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 9;
        cursor: pointer;
    }
    .caret_top{
        position: absolute;
        z-index: 9;
        top:8px;
        left:50%;
        width: 40px;
        height: 40px;
        margin-left: -20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .caret_bottom{
        position: absolute;
        z-index: 9;
        bottom:8px;
        left:50%;
        width: 40px;
        height: 40px;
        margin-left: -20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .caret_left{
        position: absolute;
        z-index: 9;
        top:50%;
        left:8px;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .caret_right{
        position: absolute;
        z-index: 9;
        right:8px;
        top:50%;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}

// 3d
.yard_3d_title{
    height: 80px;
    background: #E4F0FC;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0 20px;
    box-shadow: 0px 2px 6px 1px rgba(4,50,123,0.16);
    ul{
        display: flex;
        align-items: center;
        justify-content: center;
        li{
            font-weight: 500;
            font-size: 20px;
            color: #667581;
            line-height: 78px;
            padding:0 10px;
            margin: 0 30px;
            cursor: pointer;
            position: relative;
            &.hover{
                color: #3D4755;
                &::after{
                    content: '';
                    position: absolute;
                    left:0;
                    right: 0;
                    bottom: 0;
                    height: 3px;
                    background: #2E81D5;
                    border-radius: 3px 3px 3px 3px;
                }
            }
        }
    }
    h3{
        font-weight: bold;
        font-size: 30px;
        color: #0A2A5E;
        line-height: 40px;
    }
}
.dimension_flex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #F6FAFE;

    .dimension {
        width: 100%;
        background: #93cef4;
        position: relative;
    }

    .dimension_info {
        width: 540px;
        flex-shrink: 0;
        padding: 15px;
    }
}
.dimension_info{
    h3{
        font-weight: 500;
        font-size: 16px;
        color: #000000;
        background: #EDF0FE;
        border: 1px solid #E0E5ED;
        text-align: center;
        height: 40px;
        line-height: 40px;
        border-bottom: none;
    }
}


/* 定义闪烁动画 */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* 应用闪烁动画 */
.flashing-text {
    color: #E04940;
    animation: blink 1s infinite; /* 1秒钟闪烁一次 */
}
.pile_info{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    flex-wrap: wrap;
    li{
        position: relative;
        padding-left:16px;
        width: 33.333%;
        margin-top: 15px;
        &:last-child{
            margin-right: auto;
        }
        &::before{
            content: ' ';
            position: absolute;
            left:0;
            top:6px;
            width: 12px;
            height: 12px;
            background: #2565C8;
            border-radius: 50%;
        }
    }
    span{
        display: block;
        font-size: 15px;
        color: #677581;
        line-height: 24px;
        
    }
    p{
        font-weight: bold;
        font-size: 18px;
        color: #3D4755;
        line-height: 30px;
    }
}
.pile_photo{
    width: 100%;
    height: 600px;
    .ph{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

// table td bg
tr.bg_yellow td{
    background: #FFCB8E;
}
td.bg_green{
    background: #70F4C4;
}
td.bg_red{
    background: #E9455E;
}
td.bg_purple{
    background: #767CCE;
}
td.bg_gray{
    background: #8A8A8A;
}